using System;
using System.Collections.Generic;
using MongoDB.Bson;

namespace MongoScienceDAL.Core
{
    public class ScienceType
    {
        public ObjectId Id { get; set; }

        public ObjectId Collection { get; set; }
        public string Key { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public ScienceTypeEnum Type { get; set; }
        public IDictionary<string, string> Settings { get; set; } 

        public int Index { get; set; }
        public bool Required { get; set; }
        public bool Hidden { get; set; }
        public bool Readonly { get; set; }

        public DateTime CreatedOn { get; set; }
        public string CreatedBy { get; set; }
    }
}